package com.grieous.scheduler;




import com.grieous.solr.SolrServerManager;


public class Task {

	public void refereshIndex() {
		SolrServerManager solrServerManager=SolrServerManager.getInstance();
		solrServerManager.swapCore("core0","core1");
		solrServerManager.reloadCore();
		solrServerManager.refereshIndex("core1");
	}
}
